package com.wisemoresystem.seal.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.wisemoresystem.seal.base.service.BaseService;

@Service
public class WordService extends BaseService {

	//类别词
	public List<Map<String, Object>> selectTypeWordList() {
		String sql = "select t.* from t_type_word t "
				+ " where t.status=0 order by t.name asc";

		List<Map<String, Object>> list = jt.queryForList(sql);
		return list;
	}
	
	//文种词
	public List<Map<String, Object>> selectWordTypeList() {
		String sql = "select t.* from t_word_type t "
				+ " where t.status=0 order by t.name asc";

		List<Map<String, Object>> list = jt.queryForList(sql);
		return list;
	}
}
